package com.yl.module.property.domain.dto;

												
import java.time.LocalDateTime;

import com.yl.common.domain.base.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 资产更换记录表 DTO
 * @author liangjian
 * @date 2024-10-27 21:10:48
 */
@Data
@ApiModel(value = "PropertyChangeDTO", description = "资产更换记录表DTO")
public class PropertyChangeDTO extends PageDTO implements Serializable {
	private static final long serialVersionUID = 289164564758526881L;

    @ApiModelProperty(value = "资产更换记录表-主键id")
    private Long id;

	@ApiModelProperty(value = "资产一级分类id 来源property_type.id")
    private Integer propertyTypeId;

	@ApiModelProperty(value = "资产id 来源property.id 属于更换前的资产id")
	private Integer propertyId;

	@ApiModelProperty(value = "资产id 来源property.id 属于更换后的资产id")
	private Integer propertyIdLater;

	@ApiModelProperty(value = "描述")
    private String describe;

	@ApiModelProperty(value = "操作人id")
    private Long userId;

	@ApiModelProperty(value = "更换时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime changeTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private Integer deleteFlag;

}

